package com.inspection.dao;

import com.inspection.entity.InspectionBasicDO;
import com.inspection.entity.InspectionDepartmentDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface InspectionDepartmentDao extends JpaRepository<InspectionDepartmentDO,Long>, JpaSpecificationExecutor<InspectionDepartmentDO> {


    List<InspectionDepartmentDO> findAllByIsDelEqualsAndBranchIdIn(Integer isDel ,Iterable branchIdList);

}
